package com.westos.anno;

import com.westos.calcv2.IOperator;

public class AnnoSpringClient {

    public static void main(String[] args){
        //获取UserService的对象
        UserService us = SpringUtil.getInstance().getContext().getBean("userService", UserService.class);
        us.removeUser();
        IOperator addOperator = SpringUtil.getInstance().getContext().getBean("addOperator", IOperator.class);
        System.out.println(addOperator.operator(1,2));
    }
}